This the SDK to our HTPA-SPI-Modules.

For updates and any kind of questions please contact forg@heimannsensor.com
The SDK will work with GUI v.0.93 and beyound.

For setup:
1. Install the MPLAB X IDE from www.microchip.com
2. Install the Microchip Application Libraries from www.microchip.com
3. The current TCPIP Stack version is 5.36.4
4. Download and install the XC32 compiler from microchip.com
5. Make a safety copy of the ENC28J60.c file, located in the (for example) C:\Users\Example\Microchip Solutions v2010-10-19\Microchip\TCPIP Stack
6. Either replace the original ENC28J60.c file with the one, located in this subdirectory or implement the lines "#ifndef STACKPOLLING"... on the arbitary line in the original file
7. Open the ModToUDP.mcw in the IDE and be sure to set your project directories correct. (Project-->Build Options-->Project-->Directories-->Include Search Path
8. Compile and have a lot of fun.
9. To flash the code to the device you need a programmer from Microchip, like PICKit3, RealICE, etc.
10. Do NOT change the MAC-ID which is given to your workspace in the file main.c, variable const BYTE MID[6]={}. Doing so might result in serious network problems. Be aware that the space of 
   [00:97:FF:00:00:00]-[00:97:FF:FF:FF:FF] is Heimann Sensor GmbH reserved property. Using of any other MAC ID in this space except than the MAC ID the SDK was delivered with, is forbidden. 
   Heimann Sensor subjects for legal measures in disregarding these terms.

Please be aware of the following things:
1. There are three differenct kinds of SPI modules. M(SPI), M(HP) and M(LC). M(SPI) and M(LC) are pin compatible, as well as their firmwares are. 
2. M(HP) modules are delivered with a different kind of cable and the SDK firmware flashed to the board is not compatible to M(SPI) or M(LC).
3. If you need to migrate to a different system, you need to recompile and flash it to the SDK.
4. The voltage level supplied to the board should be the voltage level, supplied to the module.






